package com.zhiming.item.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 导航条菜单表
 */

@Data
@TableName("tb_menu")
public class Menu {
    @TableId(type = IdType.AUTO)
    private Integer cid;           //导航id
    private String cname;         //导航名称
    private Integer menuType;     //功能是否开放？0未开放/1已开放
    private String url;           //导航url
    private Integer sortCode;     //排序码
    @JsonFormat(pattern= "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
}
